package com.szrt.java.book.entity;

public class BookEntity {
	
	/**
	 * id
	 */
	private Integer id;
	
	/**
	 * 书名
	 */
	private String bookName;
	
	
	/**
	 * 作者
	 */
	private String author;
	
	
	/**
	 * 价格
	 */
	private int price;

	/**
	 * 哪个朝代的书
	 */
	private String period;
	
	
	

	
	
	
	public String getPeriod() {
		return period;
	}


	public void setPeriod(String period) {
		this.period = period;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getBookName() {
		return bookName;
	}


	public void setBookName(String bookName) {
		this.bookName = bookName;
	}


	public String getAuthor() {
		return author;
	}


	public void setAuthor(String author) {
		this.author = author;
	}


	public int getPrice() {
		return price;
	}


	public void setPrice(int price) {
		this.price = price;
	}


	@Override
	public String toString() {
		return "BookEntity [id=" + id + ", bookName=" + bookName + ", author=" + author + ", price=" + price + "]";
	}

}
